home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Meeting Pearls 4
/
Meeting Pearls Vol. IV (1996)(GTI - Schatztruhe)[!].iso
/
Pearls
/
dev
/
boopsi
/
ScreenModeClass
/
Doc
/
ScreenModeClass.doc
next >
Wrap
Text File
|
1995-11-14
|
5KB
|
256 lines
File: ScreenModeClass.Doc
Description: ScreenModeClass documentation.
Copyright: (C) Copyright 1995 Doguet Emmanuel.
All Rights Reserved.
------------------------------------------------------------------------------
TABLE OF CONTENTS
ScreenModeClass/--background--
ScreenModeClass/Methods
ScreenModeClass/Attributes
ScreenModeClass/--background-- ScreenModeClass/--background--
NAME
Class: ScreenModeClass
Superclass:
Include File "ScreenModeClass.h"
FUNCTION
To provide you with a very easy way to implement some ScreenMode
requester in your programs.
The advantage of this class it that the objects remember their
complete setting as long as the object remains valid.
This class provide too, some new feature to the screenmode requester like:
- Can layout position of the info-window.
For haven't it over the screen mode requester :-(.
- Repair asl-bug (ASLSM_MinWidth & ASLSM_MinHeight) with the new-tag
SMC_ControlMinSize.
- New tag SMC_GUI_MODES who display screenmode who support GUI (no LORES..).
- Easy installation ( great when we believe how work asl-screenmode requester ).
Also you program must open the following libraries:
asl.library - V37 or better.
intuition.library - V37 or better.
utility.library - V37 or better.
The source of this class is based on some sources of Jan Van Den
Baard, the creator of the famous library: the bgui.library !!!!!
ScreenModeClass/Methods ScreenModeClass/Methods
NEW_METHODS
OM_NEW
OM_DISPOSE
OM_GET
CHANGED METHODS
None.
ScreenModeClass/Attributes ScreenModeClass/Attributes
NAME
SMC_InitialInfoPos -- (ULONG)
FUNCTION
Open the info window on the left or on the right of the screen mode
requester. ( SMC_INFOPOS_TopLeft, SMC_INFOPOS_TopRight ).
Default is NULL - Applicability is (S)
NAME
SMC_InfoPosArround -- (BOOL)
FUNCTION
Allow to open the info window always around the screen mode
requester. If there were no place on it's left, it go to its right...
( Only for the first request or after each request, save the
screen-mode-requester positition, dispose and redo a newobject.
Because I use ASL-TAG who work only at initialisation ).
Default is NULL - Applicability is (S)
NAME
SMC_DisplayID -- (ULONG)
FUNCTION
Set the activate-default Mode ID.
Default is NULL - Applicability is (S)
NAME
SMC_DisplayWidth -- (ULONG)
FUNCTION
Set the default width.
Default is NULL - Applicability is (S)
NAME
SMC_DisplayHeight -- (ULONG)
FUNCTION
Set the default height.
Default is NULL - Applicability is (S)
NAME
SMC_OverscanType -- (ULONG)
FUNCTION
Set the default overscan type.
Default is NULL - Applicability is (S)
NAME
SMC_AutoScroll -- (BOOL)
FUNCTION
Set or not the autoscroll mode.
Default is NULL - Applicability is (S)
NAME
SMC_ReqLeftEdge -- (ULONG)
FUNCTION
For get the left edge position of the requester.
Default is NULL - Applicability is (G)
NAME
SMC_ReqTopEdge -- (ULONG)
FUNCTION
For get the top edge position of the requester.
Default is NULL - Applicability is (G)
NAME
SMC_ReqWidth -- (ULONG)
FUNCTION
For get the width of the requester.
Default is NULL - Applicability is (G)
NAME
SMC_ReqHeight -- (ULONG)
FUNCTION
For get the height of the requester.
Default is NULL - Applicability is (G)
NAME
SMC_InfoLeftEdge -- (ULONG)
FUNCTION
For get the left edge position of the information window.
Default is NULL - Applicability is (G)
NAME
SMC_InfoTopEdge -- (ULONG)
FUNCTION
For get the top edge position of the information window.
Default is NULL - Applicability is (G)
NAME
SMC_InfoWidth -- (ULONG)
FUNCTION
For get the width of the information window.
Default is NULL - Applicability is (G)
NAME
SMC_InfoHeight -- (ULONG)
FUNCTION
For get the height of the information window.
Default is NULL - Applicability is (S)
NAME
SMC_GUI_MODES -- (ULONG)
FUNCTION
Allow to not display lores resolution.
Default is NULL - Applicability is (IS)
NAME
SMC_ControlMinSize -- (ULONG)
FUNCTION
Control and correct the min size (width & height) set by the user.
Because when you set MinWidth = 640, it you enter 300 without
validate by a return and then you click on 'OK' => The ASL will
return you 300 !!!!
This TAG prevent this bug!
Default is NULL - Applicability is (IS)